package persistence;

import java.util.List;

import persistence.exception.DAOException;

public interface SubscriptionDAO {
	public List<Subscription> getAllSubscriptionsByTitle(String title) throws DAOException;
	public List<Subscription> getAllSubscriptionsForLocation(LibraryLocation location) throws DAOException;
	public Subscription findSubscription(int id) throws DAOException;
	public Subscription updateSubscription(Subscription subscription) throws DAOException;
	public Subscription createSubscription();
	public Subscription saveSubscription(Subscription subscription) throws DAOException;
	public List<Subscription> getAllSubscriptionsAsc() throws DAOException;
}
